<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VR Sketch Design: DragImage类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">VR Sketch Design
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">VR Project</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_drag_image-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">DragImage类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 DragImage 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_drag_image__inherit__graph.png" border="0" usemap="#a_drag_image_inherit__map" alt="Inheritance graph"/></div>
<map name="a_drag_image_inherit__map" id="a_drag_image_inherit__map">
<area shape="rect" title=" " alt="" coords="177,123,308,253"/>
<area shape="rect" title=" " alt="" coords="5,5,101,75"/>
<area shape="rect" title=" " alt="" coords="125,5,237,75"/>
<area shape="rect" title=" " alt="" coords="262,5,348,75"/>
<area shape="rect" title=" " alt="" coords="373,5,477,75"/>
</map>
</div>
<div class="dynheader">
DragImage 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="class_drag_image__coll__graph.png" border="0" usemap="#a_drag_image_coll__map" alt="Collaboration graph"/></div>
<map name="a_drag_image_coll__map" id="a_drag_image_coll__map">
<area shape="rect" title=" " alt="" coords="177,123,308,253"/>
<area shape="rect" title=" " alt="" coords="5,5,101,75"/>
<area shape="rect" title=" " alt="" coords="125,5,237,75"/>
<area shape="rect" title=" " alt="" coords="262,5,348,75"/>
<area shape="rect" title=" " alt="" coords="373,5,477,75"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5fc273459dc3290468fe9f1d389e94f2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drag_image.html#a5fc273459dc3290468fe9f1d389e94f2">OnBeginDrag</a> (PointerEventData eventData)</td></tr>
<tr class="separator:a5fc273459dc3290468fe9f1d389e94f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75364aa82ec8dccbc69c3b8ce725a950"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drag_image.html#a75364aa82ec8dccbc69c3b8ce725a950">OnDrag</a> (PointerEventData eventData)</td></tr>
<tr class="separator:a75364aa82ec8dccbc69c3b8ce725a950"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad12089b4bd89547d610bc290004e4af4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drag_image.html#ad12089b4bd89547d610bc290004e4af4">OnEndDrag</a> (PointerEventData eventData)</td></tr>
<tr class="separator:ad12089b4bd89547d610bc290004e4af4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a25a518b0d776582c0bf370ce66752163"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drag_image.html#a25a518b0d776582c0bf370ce66752163">dragOnSurfaces</a> = true</td></tr>
<tr class="separator:a25a518b0d776582c0bf370ce66752163"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a3ecb81b3150e62caf27e8bd4cd10850f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drag_image.html#a3ecb81b3150e62caf27e8bd4cd10850f">SetDraggedPosition</a> (PointerEventData eventData)</td></tr>
<tr class="separator:a3ecb81b3150e62caf27e8bd4cd10850f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:af778a9c4debd5929d7e224a70f02fee0"><td class="memItemLeft" align="right" valign="top">Dictionary&lt; int, GameObject &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drag_image.html#af778a9c4debd5929d7e224a70f02fee0">m_DraggingIcons</a> = new Dictionary&lt;int, GameObject&gt;()</td></tr>
<tr class="separator:af778a9c4debd5929d7e224a70f02fee0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace12841ec549dfb24243a30a2c244e09"><td class="memItemLeft" align="right" valign="top">Dictionary&lt; int, RectTransform &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drag_image.html#ace12841ec549dfb24243a30a2c244e09">m_DraggingPlanes</a> = new Dictionary&lt;int, RectTransform&gt;()</td></tr>
<tr class="separator:ace12841ec549dfb24243a30a2c244e09"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="_drag_image_8cs_source.html">DragImage.cs</a> 第 <a class="el" href="_drag_image_8cs_source.html#l00007">7</a> 行定义.</p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a5fc273459dc3290468fe9f1d389e94f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fc273459dc3290468fe9f1d389e94f2">&#9670;&nbsp;</a></span>OnBeginDrag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DragImage.OnBeginDrag </td>
          <td>(</td>
          <td class="paramtype">PointerEventData&#160;</td>
          <td class="paramname"><em>eventData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>We have clicked something that can be dragged.</p>

<p class="definition">在文件 <a class="el" href="_drag_image_8cs_source.html">DragImage.cs</a> 第 <a class="el" href="_drag_image_8cs_source.html#l00014">14</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="class_drag_image_a5fc273459dc3290468fe9f1d389e94f2_cgraph.png" border="0" usemap="#aclass_drag_image_a5fc273459dc3290468fe9f1d389e94f2_cgraph" alt=""/></div>
<map name="aclass_drag_image_a5fc273459dc3290468fe9f1d389e94f2_cgraph" id="aclass_drag_image_a5fc273459dc3290468fe9f1d389e94f2_cgraph">
<area shape="rect" title=" " alt="" coords="6,5,149,29"/>
<area shape="rect" href="class_drag_image.html#a3ecb81b3150e62caf27e8bd4cd10850f" title=" " alt="" coords="197,5,371,29"/>
</map>
</div>

</div>
</div>
<a id="a75364aa82ec8dccbc69c3b8ce725a950"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75364aa82ec8dccbc69c3b8ce725a950">&#9670;&nbsp;</a></span>OnDrag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DragImage.OnDrag </td>
          <td>(</td>
          <td class="paramtype">PointerEventData&#160;</td>
          <td class="paramname"><em>eventData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_drag_image_8cs_source.html">DragImage.cs</a> 第 <a class="el" href="_drag_image_8cs_source.html#l00044">44</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="class_drag_image_a75364aa82ec8dccbc69c3b8ce725a950_cgraph.png" border="0" usemap="#aclass_drag_image_a75364aa82ec8dccbc69c3b8ce725a950_cgraph" alt=""/></div>
<map name="aclass_drag_image_a75364aa82ec8dccbc69c3b8ce725a950_cgraph" id="aclass_drag_image_a75364aa82ec8dccbc69c3b8ce725a950_cgraph">
<area shape="rect" title=" " alt="" coords="6,5,122,29"/>
<area shape="rect" href="class_drag_image.html#a3ecb81b3150e62caf27e8bd4cd10850f" title=" " alt="" coords="171,5,344,29"/>
</map>
</div>

</div>
</div>
<a id="ad12089b4bd89547d610bc290004e4af4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad12089b4bd89547d610bc290004e4af4">&#9670;&nbsp;</a></span>OnEndDrag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DragImage.OnEndDrag </td>
          <td>(</td>
          <td class="paramtype">PointerEventData&#160;</td>
          <td class="paramname"><em>eventData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_drag_image_8cs_source.html">DragImage.cs</a> 第 <a class="el" href="_drag_image_8cs_source.html#l00096">96</a> 行定义.</p>

</div>
</div>
<a id="a3ecb81b3150e62caf27e8bd4cd10850f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ecb81b3150e62caf27e8bd4cd10850f">&#9670;&nbsp;</a></span>SetDraggedPosition()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void DragImage.SetDraggedPosition </td>
          <td>(</td>
          <td class="paramtype">PointerEventData&#160;</td>
          <td class="paramname"><em>eventData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_drag_image_8cs_source.html">DragImage.cs</a> 第 <a class="el" href="_drag_image_8cs_source.html#l00052">52</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_drag_image_a3ecb81b3150e62caf27e8bd4cd10850f_icgraph.png" border="0" usemap="#aclass_drag_image_a3ecb81b3150e62caf27e8bd4cd10850f_icgraph" alt=""/></div>
<map name="aclass_drag_image_a3ecb81b3150e62caf27e8bd4cd10850f_icgraph" id="aclass_drag_image_a3ecb81b3150e62caf27e8bd4cd10850f_icgraph">
<area shape="rect" title=" " alt="" coords="197,29,371,53"/>
<area shape="rect" href="class_drag_image.html#a5fc273459dc3290468fe9f1d389e94f2" title=" " alt="" coords="6,5,149,29"/>
<area shape="rect" href="class_drag_image.html#a75364aa82ec8dccbc69c3b8ce725a950" title=" " alt="" coords="19,53,135,77"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a25a518b0d776582c0bf370ce66752163"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25a518b0d776582c0bf370ce66752163">&#9670;&nbsp;</a></span>dragOnSurfaces</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DragImage.dragOnSurfaces = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_drag_image_8cs_source.html">DragImage.cs</a> 第 <a class="el" href="_drag_image_8cs_source.html#l00009">9</a> 行定义.</p>

</div>
</div>
<a id="af778a9c4debd5929d7e224a70f02fee0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af778a9c4debd5929d7e224a70f02fee0">&#9670;&nbsp;</a></span>m_DraggingIcons</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Dictionary&lt;int, GameObject&gt; DragImage.m_DraggingIcons = new Dictionary&lt;int, GameObject&gt;()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_drag_image_8cs_source.html">DragImage.cs</a> 第 <a class="el" href="_drag_image_8cs_source.html#l00011">11</a> 行定义.</p>

</div>
</div>
<a id="ace12841ec549dfb24243a30a2c244e09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace12841ec549dfb24243a30a2c244e09">&#9670;&nbsp;</a></span>m_DraggingPlanes</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Dictionary&lt;int, RectTransform&gt; DragImage.m_DraggingPlanes = new Dictionary&lt;int, RectTransform&gt;()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_drag_image_8cs_source.html">DragImage.cs</a> 第 <a class="el" href="_drag_image_8cs_source.html#l00012">12</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>Y:/Coding/Unity/VRDesignProject/Assets/Scripts/<a class="el" href="_drag_image_8cs_source.html">DragImage.cs</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
